package com.jsbs.iam.user.constant;

/**
 * 通用常量信息
 * 
 * @author junwc
 */
public class Constants {

    public static final String HEADER_TOKEN_RSP = "set-x-token";

    public static final String HEADER_TOKEN = "x-token";

    /**
     * 用户编码
     */
    public static final String USER_CODE = "userCode";

    /**
     * 业务系统用户ID
     */
    public static final String USER_ID = "userId";

    /**
     * 姓名
     */
    public static final String NAME = "name";

    /**
     * 手机号
     */
    public static final String PHONE = "phone";

    /**
     * 邮箱
     */
    public static final String EMAIL = "email";

    /**
     * 归属组织类型编码
     */
    public static final String ORG_TYPE_CODE = "orgTypeCode";

    /**
     * 归属租户
     */
    public static final String COMPANY_CODE = "companyeCode";

    /**
     * 扩展字段名称
     */
    public static final String FIELD_KEY = "fieldKey";

    /**
     * 扩展字段值
     */
    public static final String FIELD_VALUE = "fieldValue";

    /**
     * 扩展字段ID
     */
    public static final String FIELD_ID = "fieldId";

    /**
     * IAM后台系统编码
     */
    public static final String IAM_APPLY_CODE = "iam000001";

    /**
     * portal取url的key
     */
    public static final String APPLY_URL = "x-app-type";
    /**
     * 超级管理员用户编码
     */
    public static final String ADMIN_USER_CODE = "admin";

    /**
     * 管理员角色编码
     */
    public static final String ADMIN_ROLE_CODE = "x-admin-role-code";

    /**
     * 管理员角色列表
     */
    public static final String ADMIN_ROLE_LIST = "x-admin-role-list";
}
